home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / xeno / topper.lha / Topper / Install.s next >
Text File  |  1995-04-01  |  1KB  |  50 lines

  1. ;;
  2. ;; Install script for Topper v1.1
  3. ;;
  4. ;; To run this script, execute it from CLI   
  5. ;; This script needs OS version 3.0 or later.
  6. ;;
  7.  
  8. C:VERSION >NIL: graphics.library 39
  9. IF NOT WARN
  10.  
  11.   REQUESTCHOICE TITLE "Topper Installation..." BODY "Copy Topper to your C: directory ?" GADGETS " Copy | Cancel " >env:topper
  12.  
  13.   IF $topper EQ "1"
  14.     COPY Topper c:
  15.   ELSE
  16.     QUIT
  17.     ENDIF
  18.  
  19.   REQUESTCHOICE TITLE "Topper Installation..." BODY "Copy Ratings.txt and NoTopper.txt*Nto your XENOLINK:Text/Topper directory ?*N(This will create a directory with this name.)" GADGETS " Copy | Cancel " >env:topper
  20.  
  21.   IF $topper EQ "1"
  22.     IF NOT EXISTS XENOLINK:Text/Topper
  23.       MAKEDIR XENOLINK:Text/Topper
  24.       ENDIF
  25.     COPY Ratings.txt NoTopper.txt XENOLINK:Text/Topper/
  26.   ELSE
  27.     QUIT
  28.     ENDIF
  29.  
  30.   REQUESTCHOICE TITLE "Topper Installation..." BODY "Select which Form set to install:" GADGETS " 1 | 2 | 3 " >env:topper
  31.   
  32.   IF $topper EQ "1"
  33.     COPY Forms1/T#?F.#? XENOLINK:Text/Topper/
  34.     ENDIF
  35.   IF $topper EQ "2"
  36.     COPY Forms2/T#?F.#? XENOLINK:Text/Topper/
  37.     ENDIF
  38.   IF $topper EQ "0"
  39.     COPY Forms3/T#?F.#? XENOLINK:Text/Topper/
  40.     ENDIF
  41.  
  42.   DELETE env:topper >NIL:
  43.   ECHO "*N*E[1mInstallation Complete*E[0m*N"
  44.  
  45. ELSE
  46.  
  47.   ECHO "This script requires OS 3.0 or later."
  48.  
  49.   ENDIF
  50.